package com.gxy.learn.design.model.construction.adapter.class_adapter;

import lombok.extern.slf4j.Slf4j;

/**
 * @description: 适配器模式- 类适配器
 * @author: gaoxueyong
 * @Date: 2022/11/7 18:43
 */
@Slf4j
public class Client {
    public static void main(String[] args) {
        Computer computer = new Computer();
        String msg = computer.readSD(new SDCardImpl());
        log.info("msg = {}",msg);
        log.info("========");
        computer.readSD(new SDAdapterTF());
    }
}
